package org.xs.web.http;

import org.xs.web.http.provider.HTTPHeader;
import org.xs.web.http.provider.HTTPResponse;

public interface XSResponse {
	
	public boolean isXml();
	
	public boolean isText();
	
	public boolean isJs();
	
	public boolean isStream();
	
	public boolean isTemplete();
	
	public int getCode();
	
	public String getContentType();
	
	public HTTPHeader[] getHeaders();

	public Object apply(HTTPResponse response);
}
